<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
  <title>Bugs: <%= controller.action_name %></title>
  <%= stylesheet_link_tag 'scaffold' %>
  <%= stylesheet_link_tag 'bugmanager' %>
  <%= javascript_include_tag :defaults %>
  <%= @content_for_page_specific_styles %>
</head>
<body>
<%= calendar_date_select_includes %>


<div id="layout">

  <div id="logo" style="float: left; width: 160px;">


    <div style="text-align:center; font-size: 12pt; margin-bottom: 20px;">
      <div>
        <img src="/images/bugsOnRails.png"/> <br/>
      </div>
      <div style="margin-top: 10px;">
        Welcome <strong><%= h session[:user].nickname %>!</strong>
      </div>
    </div>

    <div class="user_action" style="margin-top: 10px; margin-bottom: 10px;">
      <%= link_to 'Home', :controller => "releases", :action => :taskboard %>
    </div>

    <div class="user_action">
      <%= link_to 'Defects and CRs', bugs_path %>
    </div>
    <div class="user_action">
      <%= link_to 'Releases', releases_path %>
    </div>
    <div class="user_action">
      <%= link_to 'Report', :controller => "releases", :action => :report %>
    </div>
    <div class="user_action">
      <%= link_to 'Members', members_path %>
    </div>
    <div class="user_action">
      <%= link_to 'Change user', url_for(:controller=>"login", :action=>"login") %>
    </div>

  </div>

  <div id="mainContent" style="margin-left: 180px;;">
    <p style=" color: green "> <%= flash[:notice] %> </p>
    <%= yield %>
  </div>

</div>
</body>
</html>

